package com.youlai.boot.gym.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.gym.model.entity.Members;
import com.youlai.boot.gym.model.form.MembersForm;

/**
 * 会员管理对象转换器
 *
 * @author hxc
 * @since 2025-06-01 11:27
 */
@Mapper(componentModel = "spring")
public interface MembersConverter{

    MembersForm toForm(Members entity);

    Members toEntity(MembersForm formData);
}